package pojo;

/**
 * Created by abcdi on 2016/10/7.
 */
public class PartyWithName extends Party {
    private String sceneryname;
    private String scenerypictures;
    private String holdername;
    private String statusname;
    public String getSceneryname() {
        return sceneryname;
    }

    public void setSceneryname(String sceneryname) {
        this.sceneryname = sceneryname;
    }

    public String getHoldername() {
        return holdername;
    }

    public void setHoldername(String holdername) {
        this.holdername = holdername;
    }

    public void setStatus(Integer status){
        if(status==0){
            setStatusname("未到时间");
        }else if(status==1){
            setStatusname("正在举行");
        }else if(status==2){
            setStatusname("已经结束");
        }else if(status==3){
            setStatusname("被管理员取消");
        }
        super.setStatus(status);
    }

    public String getStatusname() {
        return statusname;
    }

    public void setStatusname(String statusname) {
        this.statusname = statusname;
    }

    public String getScenerypictures() {
        return scenerypictures;
    }

    public void setScenerypictures(String scenerypictures) {
        this.scenerypictures = scenerypictures;
    }
}
